Finish payment-provider account selection
GET
/payments/callback
const url = 'https://example.com/payments/callback?state=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/payments/callback?state=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”state
required
string
code
string
error
string
Responses
Section titled “Responses”Back to payment settings
Invalid or expired authorisation
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}