Partner Endpoints

partner/set-default-payment-method

Changed on

This endpoint allows you to set your partner account's default payment method. This payment method will be used when collecting money for your monthly invoice. The default payment method is your VoPay account.

post/partner/set-default-payment-method

Request

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

Request body application/x-www-form-urlencoded

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

PaymentMethodstring required

Your choice of default payment method. Accepted values are: vopay (to deduct fees from your VoPay account), bank (to deduct fees from your default billing bank account) and other. Credit cards are not supported for partner accounts.

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
}

Changes