Payment Methods

Create payment method

Create a saved payment method.

To duplicate a saved payment method, set the payment_method_id of the payment method to be duplicated. Billing contact and metadata is not persisted from the duplicated payment method and must be defined on the Payment Method Config or on the request. Only the stored sensitive payment method details (i.e full card or bank account number) will persist to the duplicated payment method.

If the method_type is set, then this endpoint requires Rainforest approval. Platforms that meet all requirements and are approved by Rainforest can send the full card and bank account numbers to Rainforest via a server-to-serve direct API integration.

post/v1/payment_methods

Parameters

#/paths/~1v1~1payins/get/parameters/0 — unresolved $ref

Request body

payment_method_config_idstring

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

Prefix is "pmc" in production and "sbx_pmc" in sandbox.

payment_method_idPaymentMethodId — unresolved $ref
method_typeMethodType — unresolved $ref
cardCard — unresolved $ref
achAch — unresolved $ref
billing_contactBillingContact — unresolved $ref

Response

OK

statusStatus — unresolved $ref
errorsErrors — unresolved $ref

Changes