Get subscription by ID - V1
GET /order/v1/banking/subscriptions/{id}
Retrieve a subscription by its ID.
NOTE: Please, to authenticate use the scope: “api://app-order-prd”
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The subscription ID (UUID)
Responses
Section titled “ Responses ”The resource was returned successfully
object
The subscription ID
Example
b18fedbd-ad5f-49a5-85b7-3e5dc9bbc9d6The provider ID of the subscription
Example
RR33630661202512093d0403bc2a6The type of the QR code that was generated
Example
AUTHORIZATION_QRCODEThe status of the subscription
Example
ACCEPTEDThe status history of the subscription
object
The status of the subscription when the status history was created
Example
ACCEPTEDThe date and time when the status history was created, in ISO 8601 format (RFC 3339), UTC
Example
2025-01-01T10:00:00ZThe QR code details of the subscription
object
The QR code image encoded in base64
Example
iVBORw0KGgoAAAANSUhEUgAA...The QR code payload data
Example
00020126580014BR.GOV.BCB.PIX0136d2901f4e-4f6e-4e2d-8c8a-5f3c3f00000052040000530398654041.005802BR5925Nome do Recebedor6009Sao Paulo61080540900062070503***6304B14FInitial charge details. Available only for journeys that support an initial charge.
object
Identifier of the order that settles the immediate payment. Use it to follow the charge through the order endpoints and to match the order webhook. Absent only when the subscription failed before the order was created.
Example
9c8f1b40-2f2e-4d3a-9b1f-7c1e2a4d5f60Expiration datetime (ISO)
Example
2024-01-01T12:00:00ZConciliation identifier of the immediate payment.
Example
A298FE4B49A1408685311891FC557584Amount of the initial charge
object
The currency field.
Example
BRLThe value field.
Example
10.95Example
{ "currency": "BRL", "value": "10.00"}Whether charges are allowed after the due date
Example
trueWhether the due date should be automatically adjusted to the next business day when it falls on a non-business day
Example
trueThe frequency of the charges
Example
MONTHLYThe start date of the recurrence payment in ISO 8601 format (YYYY-MM-DD)
Example
2025-01-01The end date of the recurrence payment in ISO 8601 format (YYYY-MM-DD)
Example
2025-12-31Fixed amount to be charged on each cycle
object
The currency field.
Example
BRLThe value field.
Example
10.95Minimum value the payer may configure as the authorization maximum amount
object
The currency field.
Example
BRLThe value field.
Example
10.95The debtor information object
object
The debtor document
object
Document type
Example
CPFDocument number
Example
12345678910Example
{ "type": "CPF", "number": "12345678901"}The debtor name
Example
John DoeThe receiver information object
object
The receiver account ID
Example
aa592d24-3f06-4957-ac98-8094ebe059d7The full name of the receiver
Example
John Doe OrganizationThe receiver document
object
Document type
Example
CPFDocument number
Example
12345678910Example
{ "type": "CNPJ", "number": "33023355667842"}The payer information object (available after subscription is accepted)
object
The payer name
Example
John DoeThe payer document
object
Document type
Example
CPFDocument number
Example
12345678910Example
{ "type": "CPF", "number": "12345678901"}The payer bank data
object
The payer bank ISPB
Example
12345678The payer bank account number
Example
00012345The payer bank branch number
Example
0001The description of the subscription
Example
Monthly subscription for premium serviceThe URL that will receive updates about the status of the subscription
Example
https://partner.example.com/webhooks/subscriptionThe unique code on the partner system
Example
partner-idThe date and time when the resource was created, in ISO 8601 format (RFC 3339), UTC
Example
2025-01-01T10:00:00ZThe date and time when the resource was last updated, in ISO 8601 format (RFC 3339), UTC
Example
2025-01-15T14:30:00ZList of cancellation requests for this subscription
object
The unique identifier of the cancellation
Example
cfed7d59-9835-4a67-897b-1aeb5bdf859aThe idempotency key for the cancellation
Example
d1a35d41-0bf7-4067-8821-f18e1e117b58The current status of the cancellation
Example
ACCEPTEDThe history of status changes for this cancellation
object
The status of the cancellation at this point in history
Example
ACCEPTEDThe date and time when this status was recorded, in ISO 8601 format (RFC 3339), UTC
Example
2025-01-01T10:00:00ZThe reason for the cancellation
Example
REQUESTED_BY_PAYERCustomer who initiated the cancellation request
object
Customer document information
object
Document type
Example
CPFDocument number
Example
12345678910The date and time when the cancellation was created, in ISO 8601 format (RFC 3339), UTC
Example
2025-01-01T10:00:00ZThe date and time when the cancellation was last updated, in ISO 8601 format (RFC 3339), UTC
Example
2025-01-01T10:05:00Zobject
Example
INVALID_REQUESTobject
Example
[ { "field": "field_name", "issue": "INVALID", "description": "Field is invalid" }]Unauthorized Request
object
Example
UNAUTHORIZEDExample
Unauthorized Requestobject
Example
[]object
Example
FORBIDDEN_ERRORobject
Example
[]Resource not found
object
Example
NOT_FOUNDExample
Resource not foundobject
Example
[]object
Example
INTERNAL_ERRORobject
Example
[]