payments retrieve

GET {{baseUrl}}/payments/:id

Returns a Payment object with the given id.

Request Params

KeyDatatypeRequiredDescription
expandstringWhich relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Acceptstring

RESPONSES

status: OK

{"id":"b26fd49a-cbae-470a-a8f8-bcbc119e0390","remote_id":"987300","transaction_date":"2020-03-31T00:00:00Z","contact":"5b3c1341-a20f-4e51-b72c-f3830a16c97b","account":"d6e687d6-0c36-48a1-8114-35324b5cb38f","total_amount":50,"remote_updated_at":"2020-03-31T00:00:00Z"}