payments retrieve
GET {{baseUrl}}/payments/:id
Returns a Payment object with the given id.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
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"}