Retrieving a mandate

You can retrieve a mandate by its mandateId by sending a GET request to /v1/mandates/{mandateId} endpoint of the payment methods API. The mandateId indicates that the guest’s payment card was created and authorized as a card-on-file for merchant-initiated transactions. The mandateId is provided in the response to confirm a payment intent or setup intent. Include the mandateId in the request path.

Example response body

{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", 1  
    "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
    "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",
    "originalTransactionId": "b11ac1d7-0e90-4b3e-a083-e5c767d08597", 2
    "standingInstructionType": "INSTALLMENT", 3 
    "status": "ACTIVE", 4  
    "createdAt": "2019-08-24T14:15:22Z", 5 
    "externalReferenceId": null 6
}

1

The unique identifier of mandate.

2

The identifier of the original transaction that established the customer consent to authorize the payment card to be used for merchant-initiated transactions.

3

The standingInstructionType associated with the mandateId. This indicates the instruction type used by the merchant and sent to the payment processor.

4

The status of the mandate. The status is either ACTIVE or INACTIVE.

  • ACTIVE: The mandate can be used to initiate a payment.

  • INACTIVE: The mandate can no longer be used to initiate a payment.

5

The date and time the mandate was created and the customer consented to authorize the payment card to be used for merchant-initiated transactions in ISO 8601 format.

6

The optional reference identifier for the consent agreement language. If using the default consent agreement language, this value can be null.