V2
      
      
    Payment info
Access to payment info
Parameters
| Name | In | Type | Required | Description | 
|---|---|---|---|---|
| orgId | path | string | true | organization name | 
| accountId | path | integer(int64) | true | account identifier | 
Request example
 | 
 | 
Responses
| Code | Meaning | Description | Schema | 
|---|---|---|---|
| 200 | OK | successful operation | PaymentInfo | 
| 400 | Bad Request | Invalid request body | ErrorMessage | 
| 404 | Not Found | Resource not found | ErrorMessage | 
| 405 | Method Not Allowed | Method not allowed | None | 
200 - instance of PaymentInfo
Custom schema example
 | 
 | 
| Name | Type | Required | Description | 
|---|---|---|---|
| payment_method | PaymentMethod | false | none | 
| bank_account | BankAccount | false | none | 
| credit_card | CreditCard | false | none | 
Parameters
| Name | In | Type | Required | Description | 
|---|---|---|---|---|
| orgId | path | string | true | organization name | 
| accountId | path | integer(int64) | true | account identifier | 
| body | body | ChangeAccountPaymentInfoRequest | true | Change payment info for an account | 
Request body - instance of ChangeAccountPaymentInfoRequest
 | 
 | 
| Name | Type | Required | Description | 
|---|---|---|---|
| entity | string | true | bank entity | 
| subsidiary | string | true | bank subsidiary | 
| control_digit | string | true | control digit | 
| number | string | true | account number | 
Request example
 | 
 | 
Responses
| Code | Meaning | Description | Schema | 
|---|---|---|---|
| 201 | Created | successful operation | None | 
| 400 | Bad Request | Invalid request body | ErrorMessage | 
| 404 | Not Found | Resource not found | ErrorMessage | 
| 405 | Method Not Allowed | Method not allowed | None | 
400 - instance of ErrorMessage
Custom schema example
 | 
 | 
| Name | Type | Required | Description | 
|---|---|---|---|
| code | integer(int32) | false | Custom error code | 
| status | string | false | Status | 
| message | string | false | Status message | 
| detailMsg | string | false | Detailed description of the error | 
Endpoints
Signups
Users
Accounts
Invoices
Terms
Payment info
Account migrations
Subscriptions
Products
Services
Bonuses
Promotions
Barrings
Workorders
Penalties