curl --location --request POST '/subscriptions/v1/card' \
--header 'Private-Merchant-Id: {{EC-Private-Merchant-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "{{token}}",
"planName": "Premium",
"periodicity": "custom",
"contactDetails": {
"documentType": "RUC",
"documentNumber": "123456789",
"email": "user@example.com",
"firstName": "John",
"lastName": "Doe",
"phoneNumber": "+593912345678"
},
"amount": {
"subtotalIva": 0,
"subtotalIva0": 150,
"ice": 0,
"iva": 0,
"currency": "USD"
},
"startDate": "2022-08-25",
"metadata": {
"plan": {
"fitness": {
"cardio": "include",
"rumba": "include",
"pool": "include"
}
}
},
"fullResponse": "v2"
}'