Cancel Payin
DELETETag: api-payments-gateway-delete-payinDescription: Cancel an existing payin. (Only CREDIT_CARD for the moment)/v1/payin/:id
Request
Path Parameters
Payin ID.
Query Parameters
Possible values: [CREDIT_CARD]
Payment Method.
Header Parameters
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 422
Payin canceled successfully.
- application/json
- Schema
- Example (from schema)
Schema
Payin ID
Possible values: [PENDING, WAITING, WAITING_THREE_DS, AUTHORIZED, EXPIRED, DECLINED, REVERTED, CANCELLATION_IN_PROGRESS, CANCELLED, SETTLED, REFUNDED, FAILED]
Current payin status
Payin creation date
Payin last update date
{
"id": "0197b169-da6b-7ba2-b053-ce413ae39afd",
"status": "CONFIRMED",
"createdAt": "2023-01-01T10:00:00.000Z",
"updatedAt": "2023-01-01T11:00:00.000Z"
}
If any required params are missing or has invalid format or type.
If any required params are missing or has invalid format or type.