Get payment status
GET
/v4/payments/{paymentId}/status
const url = 'https://console.orangepill.cloud/v4/payments/example/status';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/status \ --header 'Authorization: Bearer <token>'Retrieve the current status for a payment.
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
status
required
string
Example generated
{ "status": "example"}Default Response
Media typeapplication/json
object
error
required
Error message
string
message
string
Example generated
{ "error": "example", "message": "example"}Default Response
Media typeapplication/json
object
error
required
Error message
string
message
string
Example generated
{ "error": "example", "message": "example"}