Create a Payment Method
Changed onCreate a new PaymentMethod attached to a Company.
Please note that there are four different creatable types of PaymentMethods: address, bank, international, and paypal. PaymentMethods of type card can only be created via the Invite a Company and Re-Invite a Company workflows.
Companies may have up to six bank and international PaymentMethods attached to them. This limit does not apply to other types of PaymentMethods.
Request
- Base URLhttps://api.routable.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The Company ID.
Request body
Example request
{
"type_details": {
"attention_line": "Attn: John Smith"
}
}Response
Created
Example response
{
"type_details": {
"attention_line": "Attn: John Smith"
}
}Changes
- breaking
added to the response body
oneOflist for the response status - warning
added the new
GHSenum value to the///////response property for the response status - warning
added the new
GHSenum value to the///////response property for the response status - warning
added the new
MOPenum value to the///////response property for the response status - warning
added the new
MOPenum value to the///////response property for the response status - warning
added the new
cardenum value to the/////response property for the response status - warning
added the new
cardenum value to the/////response property for the response status - warning
added the new
cardenum value to the/////response property for the response status - warning
added the new
cardenum value to the/////response property for the response status - info
added the new
GHSenum value to the request property////// - info
added the new
MOPenum value to the request property////// - info
added
cardmapping keys to the response discriminator for the response status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
the
///response's property pattern^\d{18}$was removed for the status
- breaking