credit notes retrieve
GET {{baseUrl}}/credit-notes/:id
Returns a CreditNote
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":"8d9fd929-436c-4fd4-a48b-0c61f68d6178","remote_id":"123877","transaction_date":"2020-03-31T00:00:00Z","status":"SUBMITTED","total_amount":50,"remaining_credit":20,"currency":"BOB","remote_created_at":"2020-03-31T00:00:00Z","remote_updated_at":"2020-03-31T00:00:00Z","payments":["b26fd49a-cbae-470a-a8f8-bcbc119e0390"]}