paymentIntents

Retrieve payment intent

Changed on

Use this method to retrieve a payment intent, including who is paying for the terminal order and how they are paying for the terminal order.

Include the paymentIntentId that we sent you when you created the terminal order.

get/payment-intents/{paymentIntentId}

Request

  • Base URL
    https://api.payroc.com/v1
  • URL
    https://api.payroc.com/v1/payment-intents/{paymentIntentId}
  • Auth
    HTTP bearer

Path parameters

paymentIntentIdstring required

Unique identifier that we assigned to the payment intent.

Response

Successful request. Returns the payment intent.

paymentIntentType'purchase' required

Discriminator value: purchase

paymentIntentIdstring required

Unique identifier we assigned to the payment intent.

subTotalinteger

Total amount of the terminal order before tax. The value is in the currency’s lowest denomination, for example, cents. Note: You must send a value for this parameter if the payer is merchant.

Changes