v1

latestOpenAPI 3.0.02026-07-2640301.0 MB
Contact Endpoints

contacts/payment-methods

This endpoint is used to look up all the payment methods for the given contact.

get/contacts/payment-methods

Query parameters

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

ContactIDstring required

The Contact ID that the payment methods belong to.

Response

Successboolean

True if the request was successful, false if it failed

ErrorMessagestring

Contains a description of the error if the request failed

Example response

{
  "PaymentMethods": {
    "0": {
      "PaymentMethod": "BankAccount",
      "PaymentDetails": "001-00040-123****",
      "Token": "80be530727391c11470be104f8bb10b8812eddbd34479572e0b079df1d178c0a",
      "AddedOn": "2021-02-11 18:27:08"
    }
  }
}