Create Open Finance Payment Consent by Pix Account
POST/open-finance/payment-consent/by-accounts
Create a new Open Finance payment consent by pix account.
Request
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
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.
- application/json
Body
required
Open Finance payment consent amount.
Open Finance participant id.
Decoded pix account id.
Responses
- 201
- 400
- 401
- 422
The payment consent created successfully.
- application/json
- Schema
- Example (from schema)
Schema
Payment consent id.
Possible values: [PENDING, WAITING, AUTHORIZED, REJECTED, REVOKED, EXPIRED, ERROR, FAILED]
Payment consent status.
Payment consent expiration date time.
Payment consent created at.
Payment consent updated at.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"status": "PENDING",
"expiration_date_time": "2021-01-01T00:00:00.000Z",
"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.