GET
/
payments
/
request
/
get
curl --request GET \
  --url https://api.joinswift.app/payments/request/get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'
{
  "debtor": "<string>",
  "amount": 123,
  "id": "<string>",
  "status": "fulfilled"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json ยท string

Payment ID

Response

200 - application/json
debtor
string
required

Account ID to request

amount
integer
required

Amount in USD cents to request

id
string
required

Payment ID

status
enum<string>
required

Status of the payment request

Available options:
fulfilled,
pending,
cancelled