Skip to main content
POST
/
v1
/
workspaces
/
{workspaceId}
/
billing
/
payment-methods
Criar forma de pagamento
curl --request POST \
  --url http://localhost:4000/v1/workspaces/{workspaceId}/billing/payment-methods \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "<string>",
  "type": "<string>",
  "providerMethodRef": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.refy.to/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Body

application/json
provider
string
required
type
string
required
providerMethodRef
string
required
brand
string
last4
string
holderName
string

Response

201 - application/json

Forma de pagamento criada

The response is of type object.