Payment Methods

Create payin from stored payment method

Create and process a payin using a payin configuration and a stored payment method. The merchant status must be ACTIVE to create a payin.

post/v1/payment_methods/{payment_method_id}/payin

Request

  • Base URL
    https://api.sandbox.rainforestpay.com
  • URL
    https://api.sandbox.rainforestpay.com/v1/payment_methods/{payment_method_id}/payin
  • Auth
    HTTP bearer

Parameters

#/paths/~1v1~1payins/get/parameters/0 (unresolved $ref)
#/paths/~1v1~1payment_methods~1{payment_method_id}/get/parameters/1 (unresolved $ref)

Request body

payin_config_idstring required

The unique payin config identifier. A payin must be configured prior to this request. See "Create a Payin Config" if a payin configuration has not been created yet.

Prefix is "cfg" in production and "sbx_cfg" in sandbox.

Example request

{
  "payin_config_id": "cfg_2A4d6U0tMyovzTbVT1ktmRzdRaD"
}

Response

OK

statusStatus (unresolved $ref)
dataData (unresolved $ref)
errorsErrors (unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.