Stancer. API. Payments
(stancer v0.1.0)
Copy Markdown
Summary
Functions
POST /v2/payments/
Parameters
amount(integer, optional) - Amount in positive integer formatauth(object, optional)billing_address(string (matches ^addr_[a-zA-Z0-9]{24}$), optional) - Billing address ID- Example: "addr_yWYfCSzsUUhr9KwMv7vuLZHX"
capture(boolean, optional) - Capture the funds or notcard(object, optional) - Card associated with the payment- Example: "card_yWYfCSzsUUhr9KwMv7vuLZHX"
currency(string, optional) - Currencycustomer(object, optional)date_settlement(string (format: date), optional) - Settlement date in YYYY-MM-DD formatdescription(string (3-64 chars), optional) - Amount in positive integer formatdevice(object, optional)methods_allowed(array (min 1 chars), optional) - All methods allowed for the paymentorder_id(object, optional) - Non unique id without unicity checkreturn_url(string (1-65536 chars, format: uri), optional) - Merchant return urlsepa(object, optional) - Sepa associated with the payment- Example: "sepa_yWYfCSzsUUhr9KwMv7vuLZHX"
shipping_address(string (matches ^addr_[a-zA-Z0-9]{24}$), optional) - Shipping address ID- Example: "addr_yWYfCSzsUUhr9KwMv7vuLZHX"
unique_id(string (1-36 chars, format: binary), optional) - Unique id with unicity checkwallet(object, optional) - Wallet object containing a wallet payment token
GET /v2/payments/{id}
GET /v2/payments/
PATCH /v2/payments/{id}
Parameters
amount(integer, optional) - Amount in positive integer formatauth(object, optional) - Activate 3ds authentication systembilling_address(string (matches ^addr_[a-zA-Z0-9]{24}$), optional) - Billing address ID- Example: "addr_yWYfCSzsUUhr9KwMv7vuLZHX"
capture(boolean, optional) - Capture status of the paymentcard(object, optional)currency(string, optional) - Currency in 3 digit formatcustomer(object, optional)date_settlement(string (format: date), optional) - Settlement date in YYYY-MM-DD formatdescription(string (3-64 chars), optional) - A small descriptiondevice(object, optional)methods_allowed(array, optional)order_id(string (1-36 chars, format: binary), optional) - Non unique id without unicity checkreturn_url(string (1-65536 chars, format: uri), optional)sepa(object, optional)shipping_address(string (matches ^addr_[a-zA-Z0-9]{24}$), optional) - Shipping address ID- Example: "addr_yWYfCSzsUUhr9KwMv7vuLZHX"
status(string, optional)wallet(object, optional)