GET
/
payment_intent
/
{id}
curl --request GET \
  --url https://api-v2.ziina.com/api/payment_intent/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "account_id": "<string>",
  "amount": 123,
  "tip_amount": 123,
  "fee_amount": 123,
  "currency_code": "<string>",
  "created_at": "<string>",
  "status": "requires_payment_instrument",
  "operation_id": "<string>",
  "message": "<string>",
  "redirect_url": "<string>",
  "success_url": "<string>",
  "cancel_url": "<string>",
  "latest_error": {
    "message": "<string>",
    "code": "<string>"
  },
  "allow_tips": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

id of the payment intent

Response

default - application/json
Created payment intent

The response is of type object.