Home
Home
  1. Payment Requests
  • Welcome
    • About Ontime
    • Overview
    • Test and Learn Projects
  • Authentication
  • Availability Check
    • Light Availability Check
      POST
    • Full Availability Check
      POST
  • Payment Management
    • Mandates
      • Create a new mandate
      • Cancel an existing mandate
      • Get a Mandate
      • Get many Mandates
    • Payment Requests
      • Instruct a new payment request
        POST
      • Cancel an existing payment request
        DELETE
      • Get a Payment
        GET
      • Get many Payments
        GET
  • Payouts
    • Get a Payout
      GET
    • Get Available Payouts
      GET
  • Webhooks
    • Mandate Created/Updated
    • Payment Request Created/Updated
    • Payout Created
  1. Payment Requests

Get a Payment

Developing
Cloud Mock
https://mock.apidog.com/m1/828215-0-default
Cloud Mock
https://mock.apidog.com/m1/828215-0-default
GET
https://mock.apidog.com/m1/828215-0-default
/payments/{payment_id}
OperationId:get_payment_request_by_id
Returns the payment matching the Id provided.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: https://{domain}.auth.{region}.amazoncognito.com
Scopes:
payments:read-Can read payment requests.
or
Path Params

Responses

🟢200Success
application/json
Body

🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mock.apidog.com/m1/828215-0-default/payments/' \
--header 'x-api-key: <api-key>' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "payment_record": {
        "id": "c727af38-7701-4981-a70d-c4f89ba1e8b8",
        "mandate_id": "c2b97f4e-2332-4355-a9b4-a6491296c402",
        "due_date": "2025-08-11T14:51:30.098Z",
        "requested_amount": 22976,
        "currency": "ANG",
        "expected_pay_date": "2025-08-04T14:51:30.099Z",
        "status": "Confirmed",
        "actual_amount": 9289,
        "metadata": null
    }
}
Previous
Cancel an existing payment request
Next
Get many Payments