Payment intents

Retrieve a payment intent

get/api/v1/payment-intents/{id}

Request

  • Base URL: https://api.xrpay.it
  • URL: https://api.xrpay.it/api/v1/payment-intents/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Payment intent

object'payment_intent' required
idstring required
status'requires_customer_action' | 'processing' | 'succeeded' | 'failed' | 'expired' | 'canceled' required
amount_minorinteger required
currencystring required
external_order_idstring required
order_numberstring nullable
customer_emailstring nullable
location_idstring nullable
terminal_idstring nullable
operator_idstring nullable
integration_typestring
metadataobject nullable
line_itemsobject[] nullable
payment_method_typesstring[] nullable
payment_methodstring nullable
collection_mode'hosted' | 'direct'
refunded_amount_minorinteger
failure_codestring nullable
livemodeboolean required
sandbox_simulatedboolean required
api_versionstring
created_atstring date-time required
updated_atstring date-time
expires_atstring date-time required
canceled_atstring date-time nullable

Changes

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