Skip to main content
POST
/
api
/
partner
/
v2
/
receivers
cURL
curl --request POST \
  --url https://staging-api.capa.fi/api/partner/v2/receivers \
  --header 'Content-Type: application/json' \
  --header 'partner-api-key: <partner-api-key>' \
  --data '
{
  "userId": "550e8400-e29b-41d4-a716-446655440000",
  "receiverType": "INDIVIDUAL",
  "email": "[email protected]",
  "taxId": "RFC123456789",
  "firstName": "John",
  "lastName": "Doe",
  "countryOfBirth": "MX",
  "dateOfBirth": "1990-01-15",
  "businessName": "Tech Company S.A. de C.V.",
  "countryOfConstitution": "MX",
  "dateOfConstitution": "2020-01-01",
  "phoneNumber": "+52 55 1234 5678",
  "isPep": false,
  "hasBeneficialOwner": false,
  "hasResourceProvider": false
}
'
{
  "success": true,
  "data": {
    "id": "9486244c-ff7d-4c22-9984-797179d7deaa",
    "userId": "1234567c-ff7d-4c22-9984-797179d7deaa",
    "receiverType": "INDIVIDUAL",
    "email": "[email protected]",
    "disabled": false,
    "createdAt": "2024-04-05T13:45:27.063Z",
    "updatedAt": "2024-04-05T13:45:27.063Z"
  }
}
Creates a receiver for a given userId (individual or business) to be used in transactions.

Headers

partner-api-key
string
required

Api key for the affiliated partner that is performing the request

Body

application/json
userId
string
required

User ID who owns this receiver

Example:

"550e8400-e29b-41d4-a716-446655440000"

receiverType
enum<string>
required

Type of receiver (INDIVIDUAL or BUSINESS)

Available options:
INDIVIDUAL,
BUSINESS
Example:

"INDIVIDUAL"

email
string
required

Email address of the receiver

taxId
string
required

Tax identification number

Example:

"RFC123456789"

firstName
string

First name (required for INDIVIDUAL)

Example:

"John"

lastName
string

Last name (required for INDIVIDUAL)

Example:

"Doe"

countryOfBirth
enum<string>

Country of birth (required for INDIVIDUAL)

Available options:
MX,
DO,
US,
AT,
BE,
BG,
HR,
CY,
CZ,
DK,
EE,
FI,
FR,
DE,
GR,
HU,
IE,
IT,
LV,
LT,
LU,
MT,
NL,
PL,
PT,
RO,
SK,
SI,
ES,
SE,
IS,
LI,
NO,
CH,
GB,
MC,
SM,
AD,
VA
Example:

"MX"

dateOfBirth
string

Date of birth (ISO date format)

Example:

"1990-01-15"

businessName
string

Legal name (required for BUSINESS)

Example:

"Tech Company S.A. de C.V."

countryOfConstitution
enum<string>

Country of constitution (required for BUSINESS)

Available options:
MX,
DO,
US,
AT,
BE,
BG,
HR,
CY,
CZ,
DK,
EE,
FI,
FR,
DE,
GR,
HU,
IE,
IT,
LV,
LT,
LU,
MT,
NL,
PL,
PT,
RO,
SK,
SI,
ES,
SE,
IS,
LI,
NO,
CH,
GB,
MC,
SM,
AD,
VA
Example:

"MX"

dateOfConstitution
string

Date of constitution (ISO date format)

Example:

"2020-01-01"

phoneNumber
string

Phone number

Example:

"+52 55 1234 5678"

isPep
boolean

Whether the receiver is a Politically Exposed Person

Example:

false

hasBeneficialOwner
boolean

Declaration of beneficial owner existence

Example:

false

hasResourceProvider
boolean

Declaration of resource provider existence

Example:

false

Response

201 - application/json
success
boolean
Example:

true

data
object