Payment Methods
List payment methods for a beneficiary
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidQuery Parameters
Maximum number of items to return
value <= 200Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X GET "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/payment-methods?limit=200" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"type": "BankAccount",
"bankAccount": {
"type": "Checking",
"lastFour": "string",
"holderName": "string",
"routingNumber": "string"
},
"metadata": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Create a payment method
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidQuery Parameters
Idempotency key for write requests. Cached for 24 hours.
Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuid"BankAccount"Response Body
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/payment-methods?idempotencyId=string" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "type": "BankAccount", "bankAccount": { "type": "Checking", "holderName": "string", "accountNumber": "string", "routingNumber": "string" } }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a payment method
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X GET "https://api.obligo.com/payment-methods/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"type": "BankAccount",
"bankAccount": {
"type": "Checking",
"lastFour": "string",
"holderName": "string",
"routingNumber": "string"
},
"metadata": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Delete a payment method
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X DELETE "https://api.obligo.com/payment-methods/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a payment method
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X PUT "https://api.obligo.com/payment-methods/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}