Get a payment by ID

Requires the PAYMENT.VIEW permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

versionstringRequiredDefaults to 1
version
resourceIdstringRequiredDefaults to
The ID of the resource to be requested.

Headers

x-platform-idstringOptional
Platform ID.

Query parameters

expand[]list of stringsOptional
The id fields of the resources that are going to be expanded.

Response

OK
object_typestring or nullOptionalRead-only
idstring or nullOptionalRead-only
created_atstring or nullOptionalRead-only
timestampdatetime or nullOptional
customer_idstring or nullOptional
customerobject or nullOptional
invoice_idstring or nullOptional
Resource ID of type INVOICE
payment_acceptor_idstring or nullOptional

Resource ID of type PAYMENT_ACCEPTOR

payment_acceptor_referencestring or nullOptional
payment_method_idstring or nullOptional

Resource ID of type PAYMENT_METHOD

payment_method_detailsobjectOptional
integration_payment_method_referencestring or nullOptional
external_referencestringOptional
referencestring or nullOptional
amountobjectOptional
resultenumOptional
result_detailsobjectOptional
dunning_action_detailsobjectOptional
updated_atstring or nullOptionalRead-only
contextobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error