API changes: Addition of new endpoint: p2p_country_list

Dear Developers,

On March 21st, we’re adding a new endpoint, p2p_country_list. This is part of the cross-border implementation for Deriv P2P.

If your app(s) offer Deriv P2P services, add this endpoint to help advertisers choose payment methods in other countries.

The p2p_country_list endpoint will have a property called country that accepts a 2-character ISO country code. Here’s an example of the API call:

{
p2p_country_list: 1,
country: AU
}

The API response will return the payment methods available in that particular country.

If the country code isn’t included, the response will return a list of all available countries and payment methods.

The response will return an error if the country is restricted or if the country code is invalid.

If you have any questions, write to us at api-support@deriv.com.

Sign In or Register to comment.