Payment

Get a single payment

Retrieves the details of a single existing payment.

get/payments/{payment_id}

Request

  • Base URL
    https://api.gocardless.com
  • Auth
    HTTP bearer

Path parameters

payment_idstring required

The payment id

Headers

GoCardless-Versionstring required

Response

Successful response

Example response

{
  "payments": {
    "id": "PM123",
    "created_at": "2014-01-01T12:00:00.000Z",
    "amount": 1000,
    "amount_refunded": 150,
    "currency": "EUR",
    "description": "One-off upgrade fee",
    "charge_date": "2014-05-21",
    "reference": "WINEBOX001",
    "status": "submitted",
    "app_fee": 100,
    "links": {
      "mandate": "MD123",
      "creditor": "CR123",
      "payout": "PO123",
      "subscription": "SU123",
      "instalment_schedule": "IS123"
    },
    "fx": {
      "exchange_rate": "1.1234567890",
      "estimated_exchange_rate": "1.1234567890",
      "fx_currency": "EUR"
    },
    "scheme": "bacs"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.