Sellers (Franchise)
cURL
CardProvider
curl --request POST \ --url https://api-sandbox.y.uno/v1/sellers \ --header 'Content-Type: application/json' \ --header 'X-account-code: <x-account-code>' \ --header 'private-secret-key: <private-secret-key>' \ --header 'public-api-key: <public-api-key>' \ --data ' { "account_code": "11111111-2222-3333-4444-555555555555", "merchant_seller_id": "FRANCHISE_STORE_001", "name": "Franchise Store São Paulo", "email": "store001@franchise.com", "phone": { "country_code": "55", "number": "11999999999" }, "document": { "type": "CNPJ", "number": "12345678000199" }, "address": { "street": "Av Paulista", "number": "1000", "city": "São Paulo", "state": "SP", "country": "BR", "zip_code": "01310-100" }, "country": "BR", "merchant_category_code": "5812", "payment_method": [ { "payment_method_type": "CARD", "detail": { "card": { "provider": { "id": "CIELO", "merchant_id": "CIELO_CC_12345" } } } } ] } '
{ "seller_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "account_code": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "merchant_seller_id": "<string>", "name": "<string>", "email": "<string>", "phone": { "country_code": "<string>", "number": "<string>" }, "document": { "type": "<string>", "number": "<string>" }, "address": { "street": "<string>", "number": "<string>", "city": "<string>", "state": "<string>", "country": "<string>", "zip_code": "<string>" }, "country": "<string>", "website": "<string>", "industry": "<string>", "merchant_category_code": "<string>", "payment_method": [ { "payment_method_type": "<string>", "detail": { "card": { "provider": { "id": "<string>", "merchant_id": "<string>" } } } } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Creates a new franchise seller mapping.
account_code
(provider.id, payment_method_type)
payment_method
1 - 255
255
Show child attributes
2
4
Created
Was this page helpful?
Contact support