Retrieve payment status
Retrieves how far a payment has got and what the buyer must do next, if anything. A payment is collected in the background, so poll this rather than reading the create response. Accepts either a secret key or the payment's own client_secret, so the surface collecting the payment can poll it directly.
Path parameters
The unique identifier of the payment.
Response
Payment status retrieved
Example response
{
"capture_expires_at": "2026-01-01T12:00:00.000Z",
"id": "pay_xxxxxxxxxxxxxx",
"last_payment_error": {
"code": "processing_error",
"decline_code": "insufficient_funds",
"message": "Your card was declined."
},
"next_action": {
"data": {
"frame_max_width": 500,
"url": "https://psp.example/3ds/challenge"
},
"render": [
"inline"
],
"type": "redirect"
},
"object": "payment_status",
"processing_details": {
"expected_by": "2026-01-01T12:00:00.000Z"
},
"return_url": "https://shinetime.example/checkout/done",
"status": "requires_action"
}Changes
Changed in 8 of the 42 revisions of this API.68811
- ●
added the new
requires_captureenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ○
added the required property
capture_expires_atto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
next_action/oneOf[PaymentNextAction]/oneOf[subschema #2: Display instructions]/data/oneOf[subschema #3: Bank transfer]/bank_transfer/bank_addressto the response with the200statusresponse-optional-property-added
- ○
added the optional property
next_action/oneOf[PaymentNextAction]/oneOf[subschema #2: Display instructions]/data/oneOf[subschema #3: Bank transfer]/bank_transfer/routing_numberto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added
PaymentVoucherInstructionsPaymentQrInstructionsPaymentBankTransferInstructionsto thenext_action/oneOf[PaymentNextAction]/oneOf[subschema #2: Display instructions]/dataresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
added discriminator to
next_action/oneOf[PaymentNextAction]/oneOf[subschema #2: Display instructions]/dataresponse property for the response status200response-property-discriminator-added
- ○
removed
PaymentInstructionsfrom thenext_action/oneOf[PaymentNextAction]/oneOf[subschema #2: Display instructions]/dataresponse propertyoneOflist for the response status200response-property-one-of-removed
- ▲
- ○
added the required property
next_action/oneOf[PaymentNextAction]/oneOf[subschema #1: Redirect]/data/frame_max_widthto the response with the200statusresponse-required-property-added
- ○
- ▲
added
PaymentNextActionRedirectPaymentNextActionDisplayInstructionsPaymentNextActionAwaitConfirmationto thenext_action/oneOf[PaymentNextAction]/response propertyoneOflist for the response status200response-property-one-of-added
- ▲
the
next_action/oneOf[PaymentNextAction]/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
removed the required property
next_action/oneOf[PaymentNextAction]/datafrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
next_action/oneOf[PaymentNextAction]/renderfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
next_action/oneOf[PaymentNextAction]/typefrom the response with the200statusresponse-required-property-removed
- ○
added discriminator to
next_action/oneOf[PaymentNextAction]/response property for the response status200response-property-discriminator-added
- ▲
- ○
added the optional property
error/codeto the response with the401statusresponse-optional-property-added
- ○
added the optional property
error/codeto the response with the403statusresponse-optional-property-added
- ○
added the optional property
error/codeto the response with the404statusresponse-optional-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
authentication_requiredenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_account_closedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_account_frozenenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_account_holder_deceasedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_account_not_foundenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_amount_errorenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_authorization_revokedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_declinedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_details_invalidenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_duplicateenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_generic_declineenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_insufficient_fundsenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_invalid_routing_numberenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_non_transaction_accountenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_not_authorizedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_payment_stoppedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_processing_errorenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
bank_regulatory_blockedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
blocked_by_cardholderenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
cannot_authorizeenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
card_not_supportedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
card_type_not_supportedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
card_velocity_exceededenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
closed_accountenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
contact_issuerenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
currency_not_supportedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
duplicate_transactionenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
expired_cardenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
generic_declineenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
high_riskenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
incorrect_pinenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
insufficient_fundsenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_accountenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_amountenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_card_holder_nameenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_card_numberenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_countryenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_cvcenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_cvc_or_expirationenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_expiryenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_expiry_monthenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_expiry_yearenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_pinenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_transactionenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
invalid_zipenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
issuer_errorenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
issuer_not_foundenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
issuer_unavailableenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
lost_cardenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
merchant_blacklistenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
no_accountsenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
pin_requiredenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
pin_required_asenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
pin_try_exceededenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
processing_errorenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
provider_declinedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
reenter_transactionenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
regulatory_blockedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
restricted_cardenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
sepa_disputedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
sepa_generic_declineenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
sepa_invalid_ibanenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
sepa_mandate_data_invalidenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
sepa_no_mandateenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
sepa_refused_by_customerenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
stolen_cardenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
suspected_fraudenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
test_mode_declineenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
test_mode_test_cardenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_canceledenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_card_not_enrolledenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_failedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_fraudenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_generic_errorenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_invalid_card_numberenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_rejected_by_bankenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_reported_lost_or_stolenenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_successenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_timeoutenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
three_d_secure_too_many_attemptsenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
transaction_cancelledenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
transaction_not_allowedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
transaction_not_permittedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
transaction_stoppedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
try_again_laterenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
undefinedenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
- ●
added the new
withdrawal_count_limit_exceededenum value to thelast_payment_error/oneOf[PaymentLastPaymentError]/decline_coderesponse property for the response status200response-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○