Partner Endpoints

partner/default-payment-method

Changed on

This endpoint returns your partner account's default payment method. This payment method is used when collecting money for your monthly invoice.

get/partner/default-payment-method

Request

  • Base URL
    https://earthnode-dev.vopay.com/api/v2
  • URL
    https://earthnode-dev.vopay.com/api/v2/partner/default-payment-method
  • Auth
    none declared

Query parameters

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

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

DefaultPaymentMethodstring required

The partner account's default payment method. One of: vopay (fees deducted from your VoPay account), bank (fees deducted from your default billing bank account), other.

Example response

{
  "Success": true,
  "DefaultPaymentMethod": "bank"
}

Changes