v1
latestOpenAPI 3.1.02026-07-2663312285.4 KBPayment Agreements
Retrieve a Payment Agreement
get/v1/payment-agreements/{agreement-id}
Path parameters
agreement-idstring required
Headers
Merchant-Idstring required
The merchant identifier.
Response
OK
Example response
{
"id": "agr_pmCQxjxTj35kx6KaSgOJh",
"status": "ACTIVE",
"paymentMethod": "UPI_AUTOPAY",
"frequency": {
"type": "MONTHLY",
"interval": 3
},
"startDate": "2023-03-26T20:24:27.123Z",
"endDate": "2023-03-26T20:24:27.123Z",
"amount": {
"value": 1000,
"currency": "EUR"
},
"consumer": {
"name": "John Smith",
"email": "johnsmith@example.com",
"phone": "+491521111111",
"country": "DE",
"locale": "de-DE",
"taxIdentification": "0798154336790",
"merchantConsumerReference": "5c019979-0751-469e-96e0-b67f1d95c577",
"billingAddress": {
"street": "123 Main St",
"city": "Anytown",
"region": "CA",
"postalCode": "12345",
"country": "US"
},
"client": {
"ip": "11.22.22.33",
"userAgent": "Mozilla/5.0 (X11; CrOS x86_64 8172.45.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.64 Safari/537.36"
}
},
"authenticationMethods": [
{
"details": {
"mobileIntentUri": "upiGlobal://pay?tr=123&from_app=true"
}
}
],
"history": [
{
"id": "ahist_ufJuwjMY21NVK4dkjee3",
"status": "SUCCEDED",
"createdAt": "2023-03-26T20:24:27.123Z"
}
],
"revocations": [
{
"id": "rev_ufJuwjMY21NVK4dkjee3",
"revocationStatus": "REVOKED_BY_MERCHANT",
"createdAt": "2023-03-26T20:24:27.123Z"
}
],
"initialSchemeAuthorizationReference": "XPTO",
"initialTransactionLinkReference": "atf3_8msFoZ6klReRDlQwn",
"createdAt": "2023-03-26T20:24:27.123Z",
"updatedAt": "2023-03-26T20:24:27.123Z"
}