List payment attempts
GET
/v4/payments/{paymentId}/attempts
const url = 'https://console.orangepill.cloud/v4/payments/example/attempts';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://console.orangepill.cloud/v4/payments/example/attempts \ --header 'Authorization: Bearer <token>'List attempts for a payment or payout.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”paymentId
required
string
Payment identifier
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
attempts
required
Array<object>
object
key
additional properties
Example generated
{ "attempts": [ { "additionalProperty": "example" } ]}Default Response
Media typeapplication/json
object
error
required
Error message
string
message
string
Example generated
{ "error": "example", "message": "example"}