cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting 404 when calling /payout endpoint

Trying to retrieve all bank payout details for any given month.

 

"https://api.ebay.com/sell/finances/v1/payout"

 

headers = {
"Authorization": f"Bearer {access_token}",
"Content-Type": "application/json",
"X-EBAY-C-MARKETPLACE-ID": "EBAY_AU"
}
params = {
"limit": limit,
"offset": offset,
"filter": f"payoutDate:[{date_range}];payoutStatus:{{SUCCEEDED}}" 
}

The access token has been successfully received with scope=transactions_r

The date_range has been formatted according to the ISO requirements.

Only interested in the {SUCCEEDED} status. Although there should be no others.

limit=100

offset=0

 

When making a get request to the above URL I am consistently getting a 404 error.

This suggests that the resource does not exist on the server. Or that my account does not have access to it.

I am a long term, and still currently, a seller registered for ebay payments management.

I can see the data I want to get access to on my account web page but the API call refuses to return anything other than 404.

Even when I paste the URL directly into a browser I still get 404.

 

Any insights into this will be appreciated.

Message 1 of 4
latest reply
1 BEST ANSWER

Accepted Solutions

Getting 404 when calling /payout endpoint

Hi @sammi88*sammi,

 

You are not using the correct Endpoint (https://api.ebay.com/sell/finances/v1/payout) for executing the call. 

 

For getPayouts call, you need to use the Endpoint: https://apiz.ebay.com/sell/finances/v1/payout 

Best Regards,
eBay Developer Support

View Best Answer in original post

Message 2 of 4
latest reply
3 REPLIES 3

Getting 404 when calling /payout endpoint

Hi @sammi88*sammi,

 

You are not using the correct Endpoint (https://api.ebay.com/sell/finances/v1/payout) for executing the call. 

 

For getPayouts call, you need to use the Endpoint: https://apiz.ebay.com/sell/finances/v1/payout 

Best Regards,
eBay Developer Support
Message 2 of 4
latest reply

Getting 404 when calling /payout endpoint

OK... thank you for getting back to me.

I have changed the endpoint and now the 404 error has gone.

But I am now getting a different error. Says to contact support for assistance.

 

[get_bank_transactions] Request URL sent:= https://apiz.ebay.com/sell/finances/v1/payout?limit=100&offset=0&filter=payoutDate%3A%5B2024-12-01T0...

 

[get_bank_transactions] Error 500: {"errors":[{"errorId":135000,"domain":"API_FINANCES","category":"APPLICATION","message":"There was a problem with an eBay internal system or process. Contact eBay developer support for assistance."}]}

Message 3 of 4
latest reply

Getting 404 when calling /payout endpoint

OK... with some experimentation I think I have solved the 500 error problem.

 

It appears that if I try to use two filters the 500 error happens.

If I did this I got the 500 error

params = {
"limit": limit,
"offset": offset,
"filter": f"payoutDate:[{date_range}]" ;payoutStatus:[SUCCEEDED]"

}

 

However this worked perfectly as expected

params = {
"limit": limit,
"offset": offset,
"filter": f"payoutDate:[{date_range}]" #;payoutStatus:[SUCCEEDED]" # leave this filter out for now as it causes error 500 server issues.
}

 

Message 4 of 4
latest reply