Get Open Finance Payment Consent by ID
GET/open-finance/payment-consent/:id
Get an open finance payment consent by id.
Request
Path Parameters
Payment consent UUID.
Header Parameters
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
- 401
- 422
Payment consent returned.
- application/json
- Schema
- Example (from schema)
Schema
Payment consent UUID.
Possible values: [PENDING, WAITING, AUTHORIZED, REJECTED, REVOKED, EXPIRED, ERROR, FAILED]
Payment consent status.
Payment amount.
Possible values: [PIX_KEY, PIX_ACCOUNT, QR_CODE_DYNAMIC, QR_CODE_STATIC]
Payment type.
Payment consent expiration date time.
Payment consent authorized date.
Payment consent rejected date.
Payment consent revoked date.
Payment consent expired date.
Payment consent redirect URI.
Payment consent created at.
Payment consent updated at.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"status": "PENDING",
"amount": 100,
"payment_type": "PIX_KEY",
"expiration_date_time": "2021-01-01T00:00:00.000Z",
"authorized_date": "2021-01-01T00:00:00.000Z",
"rejected_date": "2021-01-01T00:00:00.000Z",
"revoked_date": "2021-01-01T00:00:00.000Z",
"expired_date": "2021-01-01T00:00:00.000Z",
"redirect_uri": "https://auth.bank.com/authorize?client_id=abc123&request_uri=urn:123",
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00:00:00.000Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.