curl --location --request POST 'https://identity.payroc.com/authorize' --header 'x-api-key: <api key>'
{"access_token": "eyJhbGc....adQssw5c","expires_in": 3600,"scope": "service_a service_b","token_type": "Bearer"}
curl-H "Content-Type: application/json"-H "Authorization: <Bearer token>"-H "Idempotency-Key: <UUID v4>"
curl --request post \--url https://api.payroc.com/v1/merchant-platforms/12345/processing-accounts \--header 'Authorization: Bearer <access token>' \--header 'Content-Type: application/json' \--header 'Idempotency-Key: 8e03978e-40d5-43e8-bc93-6894a57f9324' \--data '{"doingBusinessAs":"Pizza Doe","owners":[{"firstName":"Jane","middleName":"Helen","lastName":"Doe","dateOfBirth":"1964-03-22","address":{"address1":"1 Example Ave.","address2":"Example Address Line 2","address3":"Example Address Line 3","city":"Chicago","state":"Illinois","country":"US","postalCode":"60056"},"identifiers":[{"type":"nationalId","value":"000-00-4320"}],"contactMethods":[{"type":"email","value":"[email protected]"}],"relationship":{"equityPercentage":51.5,"title":"CFO","isControlProng":true,"isAuthorizedSignatory":false}}],"website":"www.example.com","businessType":"restaurant","categoryCode":5999,"merchandiseOrServiceSold":"Pizza","businessStartDate":"2020-01-01","timezone":"America/Chicago","address":{"address1":"1 Example Ave.","address2":"Example Address Line 2","address3":"Example Address Line 3","city":"Chicago","state":"Illinois","country":"US","postalCode":"60056"},"contactMethods":[{"type":"email","value":"[email protected]"}],"processing":{"transactionAmounts":{"average":5000,"highest":10000},"monthlyAmounts":{"average":50000,"highest":100000},"volumeBreakdown":{"cardPresentKeyed":47,"cardPresentSwiped":30,"mailOrTelephone":3,"ecommerce":20},"isSeasonal":true,"monthsOfOperation":["jan","feb"],"ach":{"naics":"5812","previouslyTerminatedForAch":false,"refunds":{"writtenRefundPolicy":true,"refundPolicyUrl":"www.example.com/refund-poilcy-url"},"estimatedMonthlyTransactions":3000,"limits":{"singleTransaction":10000,"dailyDeposit":200000,"monthlyDeposit":6000000},"transactionTypes":["prearrangedPayment","other"],"transactionTypesOther":"anotherTransactionType"},"cardAcceptance":{"debitOnly":false,"cardsAccepted":["visa","mastercard"],"specialityCards":{"americanExpressDirect":{"enabled":true,"merchantNumber":"abc1234567"},"electronicBenefitsTransfer":{"enabled":true,"fnsNumber":"6789012"},"other":{"wexMerchantNumber":"abc1234567","voyagerMerchantId":"abc1234567","fleetMerchantId":"abc1234567"}}}},"funding":{"fundingSchedule":"nextday","acceleratedFundingFee":1999,"dailyDiscount":false,"fundingAccounts":[{"type":"checking","use":"creditAndDebit","nameOnAccount":"Jane Doe","paymentMethods":[{"type":"ach","value":{"routingNumber":"123456789","accountNumber":"1234567890"}}],"metadata":{"yourCustomField":"abc123"}}]},"pricing":{"type":"intent","pricingIntentId":6123},"signature":"requestedViaDirectLink","contacts":[{"type":"manager","firstName":"Jane","middleName":"Helen","lastName":"Doe","identifiers":[{"type":"nationalId","value":"000-00-4320"}],"contactMethods":[{"type":"email","value":"[email protected]"}]}],"metadata":{"customerId":"2345"}}'
application/json
{"processingAccountId": "38765","createdDate": "2020-09-08T12:00:00.000Z","lastModifiedDate": "2020-09-08T12:00:00.000Z","status": "entered","doingBusinessAs": "Pizza Doe","owners": [{"ownerId": 4564,"firstName": "Jane","lastName": "Doe","link": {"rel": "owner","href": "https://api.payroc.com/v1/owners/4564","method": "get"}}],"website": "www.example.com","businessType": "restaurant","categoryCode": 5999,"merchandiseOrServiceSold": "Pizza","businessStartDate": "2020-01-01","timezone": "America/Chicago","address": {"address1": "1 Example Ave.","address2": "Example Address Line 2","address3": "Example Address Line 3","city": "Chicago","state": "Illinois","country": "US","postalCode": "60056"},"contactMethods": [{"type": "email",}],"processing": {"transactionAmounts": {"average": 5000,"highest": 10000},"monthlyAmounts": {"average": 50000,"highest": 100000},"volumeBreakdown": {"cardPresentKeyed": 47,"cardPresentSwiped": 30,"mailOrTelephone": 3,"ecommerce": 20},"isSeasonal": true,"monthsOfOperation": ["jan","feb"],"ach": {"naics": "5812","previouslyTerminatedForAch": false,"refunds": {"writtenRefundPolicy": true,"refundPolicyUrl": "www.example.com/refund-poilcy-url"},"estimatedMonthlyTransactions": 3000,"limits": {"singleTransaction": 10000,"dailyDeposit": 200000,"monthlyDeposit": 6000000},"transactionTypes": ["prearrangedPayment","other"],"transactionTypesOther": "anotherTransactionType"},"cardAcceptance": {"debitOnly": false,"cardsAccepted": ["visa","mastercard"],"specialityCards": {"americanExpressDirect": {"enabled": true,"merchantNumber": "abc1234567"},"electronicBenefitsTransfer": {"enabled": true,"fnsNumber": "6789012"},"other": {"wexMerchantNumber": "abc1234567","voyagerMerchantId": "abc1234567","fleetMerchantId": "abc1234567"}}}},"funding": {"status": "enabled","fundingSchedule": "nextday","acceleratedFundingFee": 1999,"dailyDiscount": false,"fundingAccounts": [{"fundingAccountId": 123,"status": "pending","link": {"rel": "fundingAccount","method": "get","href": "https://api.payroc.com/v1/funding-account/123"}}]},"pricing": {"link": {"rel": "pricing","href": "https://api.payroc.com/v1/processing-account/12345/pricing","method": "get"}},"contacts": [{"contactId": 1543,"firstName": "Jane","lastName": "Doe","link": {"rel": "contact","href": "https://api.payroc.com/v1/contacts/1543","method": "get"}}],"signature": {"type": "requestedViaDirectLink","link": {"rel": "agreement","href": "https://us.agreementexpress.net/mv2/viewer2.jsp?docId=00000000-0000-0000-0000-000000000000","method": "get"}},"metadata": {"customerId": "2345"}}
curl --request post \--url https://api.payroc.com/v1/processing-accounts/38765/reminders \--header 'Authorization: Bearer <access token>' \--header 'Content-Type: application/json' \--data '{"type":"pricingAgreement"}'
application/json
{"reminderId": "1234567","type": "pricingAgreement"}