Funding
Set a session's payment method.
Changed onSets the (single) payment method on a session.
Commits the source route the user will send from and mints the Relay deposit address. Requires the session clientSecret.
post/v2/funding/sessions/{sessionId}/payment_methods
Request
- Base URL: https://api.openfort.io
- URL: https://api.openfort.io/v2/funding/sessions/{sessionId}/payment_methods
- Auth: HTTP bearer
Path parameters
sessionIdstring required
The funding session ID (starts with fnd_).
Headers
cf-ipcountrystring
originstring
cf-connecting-ipstring
x-forwarded-forstring
Request body
Example request
{
"paymentMethod": {
"type": "evm",
"source": {
"chain": "eip155:137",
"amount": "10000000"
}
}
}Response
Successful response.
Example response
{
"status": "waiting_payment"
}Changes
- info
endpoint added
- info