Payments API
Get payment
Retrieve a single payment object by its payment ID.
get/v2/payments/{paymentId}
Query parameters
includestring nullable
This endpoint allows you to include additional information via the include query string parameter.
embedstring nullable
This endpoint allows embedding related API items by appending the following values via the embed query string parameter.
testmodeboolean
Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.
Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Headers
idempotency-keystring
Example:123e4567-e89b-12d3-a456-426
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
The payment object.