View as Markdown

SDK reference · Rails

ap2BindingPayload

ap2BindingPayload in @provenanceauth/rails/ap2, Rails. The exact object to pass as action_payload to POST /v1/mandate/intents, so the token binds this Checkout (by hash), the payee and the amount.

Signature

ap2BindingPayload(input: { checkout_jwt?: string; checkout_hash?: string; payee: Pick<Ap2Merchant, "id"> | string; payment_amount: Ap2Amount; }): Ap2Binding

Parameters

input{ checkout_jwt?: string; checkout_hash?: string; payee: Pick<Ap2Merchant, "id"> | string; payment_amount: Ap2Amount; }Required

Returns

Ap2Binding

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.