Contact Endpoints

contacts/payment-methods

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

get/contacts/payment-methods

Request

  • Base URL
    https://earthnode-dev.vopay.com/api/v2
  • URL
    https://earthnode-dev.vopay.com/api/v2/contacts/payment-methods
  • Auth
    none declared

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 required

True if the request was successful, false if it failed

ErrorMessagestring required

Contains a description of the error if the request failed

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.