cURL
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 }
Get a payment intent by its ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
id of the payment intent
Created payment intent
The response is of type object.
object
Was this page helpful?