v1

latestOpenAPI 3.1.12026-07-2452287575.4 KB
Payment Methods

Create a Payment Method

Create a new PaymentMethod attached to a Company.

Please note that there are four different types of PaymentMethods: address, bank, international, and paypal.

Companies may have up to six bank PaymentMethods attached to them. This limit does not apply to other types of PaymentMethods.

post/v1/companies/{company_id}/payment-methods

Path parameters

company_idstring uuid required
Example:8c581d79-bb84-4bc1-b1c5-8c073264a569

The Company ID.

Request body

OR
OR
OR

Example request

{
  "type_details": {
    "attention_line": "Attn: John Smith"
  }
}

Response

Created

OR
OR
OR

Example response

{
  "type_details": {
    "attention_line": "Attn: John Smith"
  }
}