Skip to main content
POST
/
api
/
v1
/
customers
/
{customer_id}
/
platforms
Submit platform registration data
curl --request POST \
  --url https://payments.oaknetwork.org/api/v1/customers/{customer_id}/platforms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "<string>",
  "target_role": "<string>"
}
'
{
  "msg": "<string>",
  "data": [
    {
      "provider": "<string>",
      "target_role": "<string>",
      "status": "<string>",
      "readiness": {},
      "rejection_reason": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Merchant authentication token. Obtained via POST /api/v1/merchant/token/grant. Pass as: Authorization: Bearer

Path Parameters

customer_id
string<uuid>
required

Body

application/json
provider
string
required

Provider name (case-insensitive)

target_role
string
required

Target role for the provider registration

Response

Platform data submitted

msg
string
data
object[]

Registration status for this customer across every provider they are registered on, one entry per (provider, target_role) pair. Same shape as GET /api/v1/provider-registration/{customer_id}/status.